﻿<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
		<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
		<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
		<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

		<style>
			#aa td{
				
			}
		</style>
</head>
<body>
<div class="row">
	<div class="col-md-8 col-md-offset-2">
		<table class="table table-hover">
			
			  <td class="active">编号</td>
			  <td class="active">商品名</td>
			  <td class="active">图片</td>
			  <td class="active">价格</td>
			  <td class="active">类型</td>
			
			<tr id="aa" >
			  <td class="active" contentEditable="true">编号</td>
			  <td class="active">商品名</td>
			  <td class="active">图片</td>
			  <td class="active">价格</td>
			  <td class="active">类型</td>
			 <tr id="aa">
			  <td class="active">编号</td>
			  <td class="active">商品名</td>
			  <td class="active">图片</td>
			  <td class="active">价格</td>
			  <td class="active">类型</td>
			</tr>
			<tr id="aa">
			  <td class="active">编号</td>
			  <td class="active">商品名</td>
			  <td class="active">图片</td>
			  <td class="active">价格</td>
			  <td class="active">类型</td>
			 </tr >
			 <tr id="aa">
			  <td class="active">编号</td>
			  <td class="active">商品名</td>
			  <td class="active">图片</td>
			  <td class="active">价格</td>
			  <td class="active">类型</td>
			</tr>
			<tr id="aa">
			  <td class="active">编号</td>
			  <td class="active">商品名</td>
			  <td class="active">图片</td>
			  <td class="active">价格</td>
			  <td class="active">类型</td>
			</tr>
		</table>
		<div class="col-md-5 col-md-offset-8">
		<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#tj">添加商品</button>
		<button type="button" class="btn btn-success">确认删除</button>
		<button type="button" class="btn btn-info">确认修改</button>
		<button type="button" class="btn btn-warning">查</button>
		<button type="button" class="btn btn-warning">查所有</button>
		</div>
	</div>

</div>


		<!-- 增加 -->
		<div class="modal fade" id="tj" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
		  <div class="modal-dialog" role="document">
			<div class="modal-content">
			  <div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
				<h4 class="modal-title" id="myModalLabel">添加商品</h4>
			  </div>
			  <div class="modal-body">
				<table class="table table-hover">
					
					  <td class="active">编号</td>
					  <td class="active">商品名</td>
					  <td class="active">图片</td>
					  <td class="active">价格</td>
					  <td class="active">类型</td>
					
					<tr>
					  <td class="active">编号</td>
					  <td class="active">商品名</td>
					  <td class="active">图片</td>
					  <td class="active">价格</td>
					  <td class="active">类型</td>
					</tr>
					
				</table>	
			  </div>
			  <div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				<button type="button" class="btn btn-primary">确认</button>
			  </div>
			</div>
		  </div>
		</div>
		
		

</body>
</html>